/* eslint-disable import/no-extraneous-dependencies */
import axios from 'axios';

const request = axios.create({
  baseURL: 'http://127.0.0.1:3000',
});

// 轮播图
const getPosters = () => request.get('/posters');
// 专栏菜单
const getNavs = () => request.get('/navs');
// 地区图片
const getAreapictures = () => request.get('/areapictures');
// 热门景点
const getScenic = () => request.get('/scenic');
// 人气美食
const getFood = () => request.get('/food');
// 人气酒店
const getHotel = () => request.get('/hotel');
// 当地特色榜
const getLocalfeatures = () => request.get('/localfeatures');
export {
  getPosters, getNavs, getAreapictures, getScenic, getFood, getHotel, getLocalfeatures,
};
export default null;
